package com.yuanian.wf.listener.process;

import com.yuanian.wf.event.process.EndProcessBeforeEvent;
import com.yuanian.wf.listener.Listener;
import org.springframework.stereotype.Service;

@Service
public class EndProcessBeforeListener extends Listener<EndProcessBeforeEvent> {
    @Override
    public void onApplicationEvent(EndProcessBeforeEvent event) {
        activeApplicationEvent(event.getContext().getCompleteTaskDto().getProcessKey(), "", event);
    }
}
